package com.lzy.cloud.base.constants;

public class CouponConstants {

    /**
     * 卡券状态
     */
    public enum CouponStatus {
        UNBIND(1, "未绑定"), BIND(2, "已绑定"), USERD(3, "已使用"), EXPIRED(4, "已过期"), EXPIRING(5, "即将过期");
        private String desc;
        private Integer code;

        CouponStatus(Integer code, String desc) {
            this.code = code;
            this.desc = desc;
        }

        public String getDesc() {
            return desc;
        }

        public void setDesc(String desc) {
            this.desc = desc;
        }

        public Integer getCode() {
            return code;
        }

        public void setCode(Integer code) {
            this.code = code;
        }
    }

    /**
     * 卡券种类
     */
    public enum Category {
//        1-房车券，2-商品抵用券，3-汽摩券，4-房车代金券
        CAR_COUPON(1, "房车券"), GOODS_DISCOUNT_COUPON(2, "工作日房车券"), MOTOR_COUPON(3, "节假日房车券"), CAR_CASH_COUPON(4, "房车代金券");
        private String desc;
        private Integer code;

        Category(Integer code, String desc) {
            this.code = code;
            this.desc = desc;
        }

        public String getDesc() {
            return desc;
        }

        public void setDesc(String desc) {
            this.desc = desc;
        }

        public Integer getCode() {
            return code;
        }

        public void setCode(Integer code) {
            this.code = code;
        }
    }
}
